package com.wish.thriftclient.thrift;


import com.facebook.swift.service.ThriftMethod;
import com.facebook.swift.service.ThriftService;
import com.wish.thriftclient.to.OrderTO;

/**
 * 订单ThriftService接口
 *
 * @author tantexianDO
 * @since 2017/9/27
 */
@ThriftService("OrderThriftService")
public interface OrderThriftService {

    /**
     * 获取订单详情
     * @param id 订单id
     * @return 订单
     */
    @ThriftMethod
    public OrderTO getOrderDetail(Long id);
}
